package interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Maja
 */
public interface SalgInterface extends Remote{
    public int getId() throws RemoteException;
    public int getTotalPris() throws RemoteException;
    public String getSalgDato() throws RemoteException;
    public int getStatus () throws RemoteException;
    public BrugerInterface getBruger() throws RemoteException;
    public ArrayList<VareSalgInterface> getVareSalgsListe() throws RemoteException;
    public void addVareSalg(VareInterface vare, int antal) throws RemoteException, SQLException;
}
